package com.dq.Mapper;

import com.dq.Pojo.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StuMapper {
    void addstu(Student student);

    Student findstu(Integer id);

    void update(Student student);

    List<Student> findAll(@Param("name") String name, @Param("no") String stuno);

    void delete(Integer id);

    List<Student> findByclassid(Integer classId);
}
